from django.urls import path
from apps.users.views import UernameCountView,RegisterView,MobileCountView,LoginView,LogoutView,CenterView,EmailView,\
    AddressCreateView,AddressView
urlpatterns=[
    path('usernames/<username:username>/count/',UernameCountView.as_view()),
    path('register/',RegisterView.as_view()),
    path('mobiles/<mobile>/count/',MobileCountView.as_view()),
    path('login/',LoginView.as_view()),
    path('logout/',LogoutView.as_view()),
    path('info/',CenterView.as_view()),
    path('emails/',EmailView.as_view()),
    path('addresses/create/',AddressCreateView.as_view()),
    path('addresses/',AddressView.as_view()),
]